notes

#version manager

asdf nodejs2020. 7. 30.

  1. asdf를 설치한다.
    brew install asdf
    brew install asdf
  2. gpg를 설치한다.
    brew install gpg
    brew install gpg
  3. asdf nodejs plugin을 설치한다.
    asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
    asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
  4. nodejs release team의 gpg key를 추가한다.
    bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
    bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
  5. nvm등 사용중이던 vm이 있다면 호환성을 위해 ~/.asdfrc에 아래를 추가한다.
    legacy_version_file = yes
    legacy_version_file = yes
  6. 됫다.

how to uninstall node

https://reactgo.com/uninstall-node-npm-from-macos/

Tags